package com.derek.omshopping.ui.classify;

import com.derek.omshopping.base.IModel;
import com.derek.omshopping.base.IPresenter;
import com.derek.omshopping.base.IView;
import com.derek.omshopping.bean.classify.ClassifyLeftListViewBean;

import java.util.List;

/**
 * Created by My on 2016/10/17.
 */

public class ClassifyContract {
    public interface View extends IView{
        //分类界面左侧listview加载成功回调的函数
        void onListViewSuccess(List<ClassifyLeftListViewBean> list_left,List<String> code_mgroupAll);
        //分类界面左侧listview加载失败回调的函数
        void onListViewFail(String msg);


    }
    public interface Model extends IModel{
        //加载分类界面左侧listview回调的函数
        void getListView(ClassifyModel.onGetListViewUrlListener getListViewUrlListener);


    }
    public interface Presenter extends IPresenter{
        void getLeftTypeFromNet();
    }
}
